package com.sqx.modules.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sqx.modules.health.entity.NcgWatch;
import com.sqx.modules.health.entity.NcgWatchAlarmInfo;
import com.sqx.modules.health.entity.NcgWatchLocationInfo;

public interface NcgWatchService extends IService<NcgWatch> {

    // 保存地址信息
    void saveLocationInfo(NcgWatchLocationInfo locationInfo);

    // 保存报警信息
    void saveAlarmInfo(NcgWatchAlarmInfo alarmInfo);

    // 根据NcgWatch对象id 查询LocationInfo 对象id
    NcgWatchLocationInfo getLocationInfoId(String id);

    // 执行修改
    void setLocationInfo(NcgWatchLocationInfo locationInfo);

    // 根据NcgWatch对象id 查询 AlarmInfo 对象id
    NcgWatchAlarmInfo getAlarmInfoId(String id);

    void setAlarmInfo(NcgWatchAlarmInfo alarmInfo);

    NcgWatchLocationInfo getLocationInfo(String imei, String id);

    NcgWatchAlarmInfo getAlarmInfo(String imei, String id);
}
